package com.flyduck.vueshop.cart.h5.service;


import com.flyduck.vueshop.cart.h5.vo.H5CartItemAddReqVO;
import com.flyduck.vueshop.cart.h5.vo.H5CartItemRespVO;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public interface H5CartItemService {
    List<H5CartItemRespVO> getCartItemList();

    Long getTotalCount();

    BigDecimal getTotalAmountByIds(ArrayList<Long> ids);

    void updateQuantityById(Long cartItemId, Integer quantity);

    void addCartItem(H5CartItemAddReqVO h5CartItemAddReqVO);

    void batchDeleteByIds(Long[] ids);
}
